package blog.service;

import blog.controller.vo.CommentDetailVo;
import blog.controller.vo.CommentPageResult;
import blog.entity.Comment;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author StarryX
 * @since 2020-10-02
 */
public interface CommentService extends IService<Comment> {

    CommentPageResult createCommentPageResult(int blogId, int currentPage, int pageSize);

    CommentDetailVo createCommentDatailVo(Comment comment);
}
